package com.example.teachingevaluationsystem.config.jwt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author liupeng
 */
@ConfigurationProperties(prefix = "jwt")
@Component
@Data
public class JwtConfigProperties {
    private String tokenHeader;
    private String secret;
    private Long expiration = 604800L;
    private String tokenHead = "Bearer";
}
